package com.dmap.knowledge.po;

import java.io.Serializable;

public class BannerTag implements Serializable {
    /**
     * 
     * 表字段 : banner_tag.id
     */
    private Long id;

    /**
     * 
     * 表字段 : banner_tag.banner_id
     */
    private Long bannerId;

    /**
     * 
     * 表字段 : banner_tag.tag_type_id
     */
    private Long tagTypeId;

    /**
     * 
     * 表字段 : banner_tag.tag_type_name
     */
    private String tagTypeName;

    /**
     * 
     * 表字段 : banner_tag.tag_id
     */
    private Long tagId;

    /**
     * 
     * 表字段 : banner_tag.tag_name
     */
    private String tagName;

    /**
     * 
     * 表字段 : banner_tag.create_time
     */
    private Long createTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table banner_tag
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table banner_tag
     *
     * @mbggenerated
     */
    public BannerTag(Long id, Long bannerId, Long tagTypeId, String tagTypeName, Long tagId, String tagName, Long createTime) {
        this.id = id;
        this.bannerId = bannerId;
        this.tagTypeId = tagTypeId;
        this.tagTypeName = tagTypeName;
        this.tagId = tagId;
        this.tagName = tagName;
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table banner_tag
     *
     * @mbggenerated
     */
    public BannerTag() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner_tag.id
     *
     * @return the value of banner_tag.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner_tag.id
     *
     * @param id the value for banner_tag.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner_tag.banner_id
     *
     * @return the value of banner_tag.banner_id
     *
     * @mbggenerated
     */
    public Long getBannerId() {
        return bannerId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner_tag.banner_id
     *
     * @param bannerId the value for banner_tag.banner_id
     *
     * @mbggenerated
     */
    public void setBannerId(Long bannerId) {
        this.bannerId = bannerId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner_tag.tag_type_id
     *
     * @return the value of banner_tag.tag_type_id
     *
     * @mbggenerated
     */
    public Long getTagTypeId() {
        return tagTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner_tag.tag_type_id
     *
     * @param tagTypeId the value for banner_tag.tag_type_id
     *
     * @mbggenerated
     */
    public void setTagTypeId(Long tagTypeId) {
        this.tagTypeId = tagTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner_tag.tag_type_name
     *
     * @return the value of banner_tag.tag_type_name
     *
     * @mbggenerated
     */
    public String getTagTypeName() {
        return tagTypeName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner_tag.tag_type_name
     *
     * @param tagTypeName the value for banner_tag.tag_type_name
     *
     * @mbggenerated
     */
    public void setTagTypeName(String tagTypeName) {
        this.tagTypeName = tagTypeName == null ? null : tagTypeName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner_tag.tag_id
     *
     * @return the value of banner_tag.tag_id
     *
     * @mbggenerated
     */
    public Long getTagId() {
        return tagId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner_tag.tag_id
     *
     * @param tagId the value for banner_tag.tag_id
     *
     * @mbggenerated
     */
    public void setTagId(Long tagId) {
        this.tagId = tagId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner_tag.tag_name
     *
     * @return the value of banner_tag.tag_name
     *
     * @mbggenerated
     */
    public String getTagName() {
        return tagName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner_tag.tag_name
     *
     * @param tagName the value for banner_tag.tag_name
     *
     * @mbggenerated
     */
    public void setTagName(String tagName) {
        this.tagName = tagName == null ? null : tagName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner_tag.create_time
     *
     * @return the value of banner_tag.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner_tag.create_time
     *
     * @param createTime the value for banner_tag.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table banner_tag
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", bannerId=").append(bannerId);
        sb.append(", tagTypeId=").append(tagTypeId);
        sb.append(", tagTypeName=").append(tagTypeName);
        sb.append(", tagId=").append(tagId);
        sb.append(", tagName=").append(tagName);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}